<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .container {
        display: flex;
        justify-content: space-between;
      }

      .left,
      .right {
        height: 200px;
        background-color: aqua;
        /* 假设你想使左右两侧内容靠边 */
        /* flex: 1; 让左右两侧内容均分剩余空间 */
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="left">左侧内容</div>
      <div class="right">右侧内容</div>
    </div>
  </body>
</html>
